package com.thwj.project.biz.domain;

    import java.util.Date;
    import com.baomidou.mybatisplus.annotation.*;
    import lombok.*;;
    import com.fasterxml.jackson.annotation.JsonFormat;
    import java.io.Serializable;
import com.thwj.common.annotation.Excel;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * 行政区域-来源于百度行政baidu_area对象 biz_area
 *
 * @author generate
 * @date 2023-06-16
 */

@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("biz_area")
public class Area extends Model<Area>{
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long areaCode;

    /** $column.columnComment */
            @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String areaName;

    /** $column.columnComment */
            @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cityName;

    /** $column.columnComment */
            @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long cityCode;

    /** $column.columnComment */
            @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String proName;

    /** $column.columnComment */
            @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long proCode;

    /** 城市首字母 */
            @Excel(name = "城市首字母")
    private String cityFirstLetter;

    /** $column.columnComment */
            @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createDate;




    @Override
    public Serializable pkVal() {
        return this.areaCode;
    }
}
